/**
 * @file: nodes.cpp
 * @brief: support code for nodes
 * @author: coanor
 * @date: 3:3:2010
 */
#include "nodes/nodes.h"
#include "nodes/parse_nodes.h"

node_t *new_node(size_t size, node_tag_t tag)
{
    node_t *node;

    node = (node_t *)malloc(size);
    memset((char *)node, 0, size);
    node->type = tag;
    return(node);
}

